<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ taglib prefix="sf" uri="http://www.springframework.org/tags/form" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta charset="ISO-8859-1">
<title>Enter Game System Information</title>
</head>
<body>
<body background="http://localhost:8080/GST/background.jpg" bgcolor="#333333"> 
<center><img src="http://localhost:8080/GST/banner.png" alt="Banner" /></center><br>
<br>

Please enter every game system you have ever owned.

<%--     The add.htm tells the form that when submit is clicked the form data needs to be put into it. The Controller 
	     we made has add.htm mapped to it so all the data goes to that controller. The data from the form is stored in the 
	     command class named SystemForm so when the controller is called from the form it will receive a variable of that type. 
	     Thats how the controller gets user input. 
--%>

<sf:form action="add.htm" method="POST" target="add" commandName="SubmitForm">	
		<table>
			<tr>
				<td><label>System 1:</label></td>
				<td><input type="text" name="system1" id="system1" width=128/></td>
			</tr>
			<tr>
				<td><label>System 2:</label></td>
				<td><input type="text" name="system2" id="system2" width=128/></td>
			</tr>
			<tr>
				<td><label>System 3:</label></td>
				<td><input type="text" name="system3" id="system3" width=128/></td>
			</tr>
			<tr>
				<td><label>System 4:</label></td>
				<td><input type="text" name="system4" id="system4" width=128/></td>
			</tr>
			<tr>
				<td><label>System 5:</label></td>
				<td><input type="text" name="system5" id="system5" width=128/></td>
			</tr>
			<tr>
				<td><label>System 6:</label></td>
				<td><input type="text" name="system6" id="system6" width=128/></td>
			</tr>
			<tr>
				<td><label>System 7:</label></td>
				<td><input type="text" name="system7" id="system7" width=128/></td>
			</tr>
			<tr>
				<td><label>System 8:</label></td>
				<td><input type="text" name="system8" id="system8" width=128/></td>
			</tr>
			<tr>
				<td><label>System 9:</label></td>
				<td><input type="text" name="system9" id="system9" width=128/></td>
			</tr>
			<tr>
				<td><label>System 10:</label></td>
				<td><input type="text" name="system10" id="system10" width=128/></td>
			</tr>
						
		</table>
		<button type="submit">Submit</button>
	</sf:form>


</body>
</html>